package com.yunxin.core.infra.common.order.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-06-03
 */
@Getter
public enum OrderAllocationStatusEnum implements IBaseEnum<Integer> {

    /**
     * 订单分配状态 0.待分配 1.已分配
     */
    UN_ALLOCATION(0, "待分配"),

    ALLOCATION(1, "已分配"),
    ;

    private final Integer value;

    private final String label;


    OrderAllocationStatusEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
